import 'package:flutter/material.dart';
import 'package:get/get.dart';

class NavBarView extends StatelessWidget {
  final Color? barColor;
  final String? title;

  const NavBarView({this.barColor = Colors.transparent, this.title, super.key});

  @override
  Widget build(BuildContext context) {
    return Container(
      color: barColor,
      height: 88,
      padding: EdgeInsets.only(top: 30,left: 16,right: 16),
      child: Row(children: [
        GestureDetector(onTap: (){
          Get.back();
        },
          child: Icon(Icons.arrow_back_ios_sharp, color: Colors.white,),
        )
      ],),
    );
  }
}
